/**
 * Copyright 2002 Cordys R&D B.V. 
 * 
 * This file is part of the Cordys .NET Connector. 
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 * http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
 /********************************************************************
			Declaration of Document Class
********************************************************************/
#include "Managed.h"

namespace com
{
  namespace eibus
	{
	namespace xml
		{
		namespace nom
			{

				public __gc class Find
					{
						private : Find()
								  {
								  }

						public : 
							//static String * Data(Int32 node, String* pattern);
							static Int32	Match(Int32 node, String* pattern)__gc[];
							static String*	Data(Int32 node, String* pattern)[];
							static Int32	FirstNode(Int32 node, String* pattern);
							static Int32	FirstMatch(Int32 node, String* pattern);
							static String*	FirstData(Int32 node,String* pattern, String* defaultValue);
							static Int32	FirstElement(Int32 node, String* pattern);
							static Int32	FirstElements(Int32 node, String* pattern)__gc[];
							static Int32	FirstInList(Int32 from,Int32 to,String* pattern);
							static Int32	FirstMatchInList(Int32 from,Int32 to,String* pattern);
							static bool		ListCompare(Int32 from1,Int32 to1, Int32 from2 ,Int32 to2,Int32 depth,Int32 flags);
							static Int32	MatchInList(Int32 from,Int32 to,String* pattern);
							static bool		IsNode(Int32 supposedNode);
							static Int32	Nodes(Int32 node,String* criteria,Int32 maxFound,Int32* FoundArray);
							static Int32	SetOfSiblingNodes(Int32 node,String* criteria,Int32 maxFound,Int32* FoundArray);
						
					};// End of Find class
			}//End of nom namespace
		}//End of xml namespace		
	}//End of eibus namespace
}//End of com namespace